<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./from.css">
    <title>Document</title>
</head>
<body>
    <form action="/login" method="GET">
        <input type="text" name="username" placeholder="用户名"><br>
        <input type="password" name="pwd" placeholder="密码"><br>
        <input type="submit" value="提交">
     </form>
     <hr>
     <form action="/login2" method="POST">
        <input type="text" name="username" placeholder="用户名"><br>
        <input type="password" name="pwd" placeholder="密码"><br>
        <input type="submit" value="提交">
     </form>
</body>
</html>